#include<map>
#include<iostream>
#include<string>
using namespace std;

int main()
{
    map<char, string> m = {{'-', "fu"}, {'0', "ling"},
    {'1', "yi"}, {'2', "er"}, {'3', "san"},
    {'4', "si"}, {'5', "wu"}, {'6', "liu"},
    {'7', "qi"}, {'8', "ba"}, {'9', "jiu"}};

    string s ,tmp;
    cin >> s;
    for (auto& x : s)
    {
        tmp += (m[x] + " ");
    }
    tmp.pop_back();
    cout << tmp;
    return 0;
}